package com.antler.smt.response.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 获取意见与建议反馈实体
 *
 * @author zhangyi
 * @date 2018/3/21 13:36
 */
public class GetProposalListResp {

  /**
   * 主键id
   */
  @ApiModelProperty(value = "主键id", name = "id")
  private Long id;

  /**
   * 会员id游客此值为0
   */
  @ApiModelProperty(value = "会员id游客此值为0", name = "memberId")
  private Long memberId;

  /**
   *  随机id，游客用，会员此值为空
   */
  @ApiModelProperty(value = "随机id，游客用，会员此值为空", name = "randomId")
  private String randomId;

  /**
   *  建议内容
   */
  @ApiModelProperty(value = "建议内容", name = "content")
  private String content;

  /**
   *  创建时间
   */
  @ApiModelProperty(value = "创建时间", name = "createTime")
  private Date createTime;

  /**
   *  更新时间
   */
  @ApiModelProperty(value = "更新时间", name = "updateTime")
  private Date updateTime;

  /**
   *  账号 邮箱
   */
  @ApiModelProperty(value = "邮箱", name = "email")
  private String email;

  /**
   *  账号 手机
   */
  @ApiModelProperty(value = "手机", name = "moblie")
  private String moblie;


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getMoblie() {
    return moblie;
  }

  public void setMoblie(String moblie) {
    this.moblie = moblie;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getMemberId() {
    return memberId;
  }

  public void setMemberId(Long memberId) {
    this.memberId = memberId;
  }

  public String getRandomId() {
    return randomId;
  }

  public void setRandomId(String randomId) {
    this.randomId = randomId;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }
}
